package com.zj.eswrapper.interfaces;

/**
 * 构建Builder接口
 *
 * @param <QueryBuilder> QueryBuilder
 * @author 19242
 */
public interface IBuilderWrapper<QueryBuilder, SearchBuilder> {
    /**
     * 将收集的条件转成QueryBuilder
     *
     * @return QueryBuilder
     */
    QueryBuilder queryBuilder();

    /**
     * 将收集的条件转成SearchBuilder
     *
     * @return SearchBuilder
     */
    SearchBuilder searchBuilder();
}
